//银行账户类
class Account{//类声明
    String name;//账户名
    String nu;//帐号
    long balance;//可用余额
}

//测试银行账户类的类
public class AccountTester {
    public static void main(String[] args) {
        Account adachi=new Account();//足立的账户
        Account nakata=new Account();//仲田的账户
        /*adachi.name="足立幸一";
        adachi.nu="123445";
        adachi.balance=1000;

        nakata.name="仲田真二";
        nakata.nu="54321";
        nakata.balance=10000;

        adachi.balance-=200;
        nakata.balance+=200;*/
        System.out.println("█足立的账户");
        System.out.println("账户名: "+adachi.name);
        System.out.println("帐号: "+adachi.nu);
        System.out.println("可用余额"+adachi.balance);

        System.out.println("█仲田的账户");
        System.out.println("账户名："+nakata.name);
        System.out.println("帐号："+nakata.nu);
        System.out.println("可用余额："+nakata.balance);
    }


}
